home *** CD-ROM | disk | FTP | other *** search
/ Joystick Magazine 2000 November / cd joystick no120 novembre 2000 cd 1.iso / data / demos / gunlok / data1.cab / Program_Executable_Files / scripts / scythor.gsh < prev    next >
Text File  |  2000-08-22  |  3KB  |  124 lines

  1. // defines SCYTHOR
  2. ////////////////////////////////////////////////////////////////////////////////////
  3.  
  4. // start wrapper - prevent multiple inclusions or recursive inclusions
  5.  
  6. //(this currently causes 'unrecognized preprocessor directive' warnings, until implemented)
  7. #ifndef INCLUDED_SCYTHOR_GSH
  8. #define INCLUDED_SCYTHOR_GSH
  9.  
  10. ////////////////////////////////////////////////////////////////////////////////////
  11.  
  12. #include "defaults.gsh"
  13. #include "lasers.gsh"
  14. #include "scythorfrag.gsh"
  15. #include "grenade_launcher.gsh"
  16.  
  17. hierarchy Hcy_scythor
  18. {
  19.     file "units\scythor.RIF"
  20.     name "scythor"
  21.     hotspot "dumflash"
  22. }
  23.  
  24. hierarchy Hcy_scythor_Shadow
  25. {
  26.     file "units\Scythor_shadow.RIF"
  27.     name "Scythor_shadow"
  28. }
  29.  
  30. character Chr_scythor : Chr_DefaultBaddie
  31. {
  32.     turning speed   0.5    // this is in revolutions per second
  33.     walking speed   1.0    // this is in animation cycles per second
  34.     weapon            laser
  35.     strength        60    // initial strength points
  36.     aim             2    // how many degrees off target he can be at most
  37.     sight angle    20    // in degrees
  38.     sight range     12    // in metres
  39.     hearing range    11    // in metres
  40.     aggression    0.25    // from 0 to 1
  41.     gun yaw angle    100    // in degrees
  42.     shadow hierarchy    Hcy_scythor_Shadow
  43. }
  44.  
  45. character Chr_scythor_large : Chr_DefaultBaddie
  46. {
  47.     turning speed   0.8    // this is in revolutions per second
  48.     walking speed   1.0    // this is in animation cycles per second
  49.     weapon            grenade launcher
  50.     strength        100    // initial strength points
  51.     aim             2    // how many degrees off target he can be at most
  52.     sight angle    20    // in degrees
  53.     sight range     12    // in metres
  54.     hearing range    11    // in metres
  55.     aggression    0.25    // from 0 to 1
  56.     gun yaw angle    100    // in degrees
  57.     size         1.5
  58.     shadow hierarchy    Hcy_scythor_Shadow
  59. }
  60.  
  61. character Chr_scythor_badass : Chr_DefaultBaddie
  62. {
  63.     turning speed   0.8    // this is in revolutions per second
  64.     walking speed   1.0    // this is in animation cycles per second
  65.     weapon            grenade launcher
  66.     strength        60    // initial strength points
  67.     aim             2    // how many degrees off target he can be at most
  68.     sight angle    20    // in degrees
  69.     sight range     12    // in metres
  70.     hearing range    11    // in metres
  71.     aggression    0.25    // from 0 to 1
  72.     gun yaw angle    100    // in degrees
  73.     shadow hierarchy    Hcy_scythor_Shadow
  74. }
  75.  
  76. role Rol_scythor : Rol_DefaultRobot
  77. {
  78.     shape            Hcy_scythor
  79.  
  80.     character        Chr_scythor
  81.  
  82.     identifier        "scythor"
  83.  
  84.     destructibility        Frg_scythor
  85.  
  86.     armour            0
  87.  
  88.     ai            bot
  89. }
  90.  
  91. role Rol_scythor_large : Rol_DefaultRobot
  92. {
  93.     shape            Hcy_scythor
  94.  
  95.     character        Chr_scythor_large
  96.  
  97.     identifier        "scythor_large"
  98.  
  99.     destructibility        Frg_scythor
  100.  
  101.     armour            9
  102.  
  103.     ai            bot
  104. }
  105.  
  106. role Rol_scythor_badass : Rol_DefaultRobot
  107. {
  108.     shape            Hcy_scythor
  109.  
  110.     character        Chr_scythor_badass
  111.  
  112.     identifier        "scythor_badass"
  113.  
  114.     destructibility        Frg_scythor
  115.  
  116.     armour            0
  117.  
  118.     ai            bot
  119. }
  120. ////////////////////////////////////////////////////////////////////////////////////
  121.  
  122. // end wrapper - for preventing multiple or recursive inclusions
  123. #endif // !INCLUDED_SCYTHOR_GSH
  124.